package com.enjoyor.soa.traffic.api.service.dubbo.psas;

import com.enjoyor.soa.traffic.api.dto.psas.EmergencyMaterialInfoDto;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

public interface IDubboEmergencyMaterialInfoService {
	/**
	 * 分页查询
	 * @param page
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	ResultPojo getEmergencyMaterialInfoPage(Page page);
	
	/**
	 * 列表查询
	 * @param MaterialId 物资编码（模糊查询）
	 * @param MaterialName 物资名称
	 * @param MaterialTypeName 物资类型名称
	 * @return
	 */
	ResultPojo getEmergencyMaterialInfoList(String materialId,String materialName,String materialTypeId,String materialTypeName);
	
	/**
	 * 新增物资信息
	 * @param emergencyMaterialInfo
	 * @param username
	 */
	ResultPojo addEmergencyMaterialInfo(EmergencyMaterialInfoDto emergencyMaterialInfo ,String username);
	
	/**
	 * 修改物资信息
	 * @param emergencyMaterialInfo
	 * @param username
	 */
	ResultPojo editEmergencyMaterialInfo(EmergencyMaterialInfoDto emergencyMaterialInfo,String username);
	
	/**
	 * 删除物资信息
	 * @param MaterialId
	 * @param username
	 */
	ResultPojo deleteEmergencyMaterialInfo(String materialId,String username);
	
}
